home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
angel_fr.swf
/
scripts
/
frame_3
/
DoAction_2.as
next >
Wrap
Text File
|
2013-04-24
|
2KB
|
70 lines
stop();
scroll_up_bt.useHandCursor = false;
scroll_down_bt.useHandCursor = false;
scroll_dot.useHandCursor = false;
scroll_bar.useHandCursor = false;
help_txt.htmlText = "<font color = \'#FF80C9\'><b>☆ 게임방법 ☆</b></font><font color = \'#666666\'>\n\n 엔젤후르츠는 상하좌우 주변에 위치한 과일과 자리를 바꿔 가며 정사각형 모양으로 과일을 모으는 게임입니다. \n 레벨별로 주어진 미션개수 만큼 선물상자를 모아야 레벨업이 됩니다. <font color=\'#FF0000\'>\n※ </font>별사탕은 어떤 과일과도 함께 짝을 이뤄주는 아이템 입니다. \n<font color=\'#FF80C9\'>\n조작키 : 마우스 클릭\n</font><font color=\'#666666\'></font> ";
scroll_up_bt.onPress = function()
{
this.onEnterFrame = function()
{
help_txt.scroll--;
scroll_dot._y = 90 + 105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1));
};
};
scroll_down_bt.onPress = function()
{
this.onEnterFrame = function()
{
help_txt.scroll = help_txt.scroll + 1;
scroll_dot._y = 90 + 105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1));
};
};
scroll_up_bt.onRelease = scroll_up_bt.onReleaseOutside = function()
{
delete this.onEnterFrame;
make_scroll_dot();
};
scroll_down_bt.onRelease = scroll_down_bt.onReleaseOutside = function()
{
delete this.onEnterFrame;
make_scroll_dot();
};
scroll_dot._x = 310.5;
scroll_dot.onPress = function()
{
trace("scroll_dot");
this.startDrag(false,310.5,90,310.5,195);
this.onEnterFrame = function()
{
help_txt.scroll = Math.round(help_txt.maxscroll * ((this._y - 90) / 105));
};
};
scroll_dot.onRelease = scroll_dot.onReleaseOutside = function()
{
this.stopDrag();
make_scroll_dot();
};
scroll_bar.onPress = function()
{
trace("scroll_bar");
scroll_dot._y = this._parent._ymouse + 7;
help_txt.scroll = help_txt.maxscroll * ((scroll_dot._y - 90) / 105);
};
make_scroll_dot = function()
{
scroll_dot.onEnterFrame = function()
{
this._y = 90 + 105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1));
};
};
game_help_start.onRelease = function()
{
gotoAndStop(4);
};
game_help_start.onRollOver = function()
{
so17.start(0,1);
};
make_scroll_dot();